package com.haocom.service;

import com.haocom.dao.NoticeInfoMapper;
import com.haocom.domain.NoticeInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class NoticeInfoService {

    @Autowired
    private NoticeInfoMapper noticeInfoMapper;

    public NoticeInfo findById(Integer id){
        return noticeInfoMapper.selectByPrimaryKey(id);
    }
}
